home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / rebound.swf / scripts / DefineButton2_204 / BUTTONCONDACTION on(keyPress q).as < prev    next >
Encoding:
Text File  |  2006-06-13  |  395 b   |  14 lines

  1. on(keyPress "q"){
  2.    fscommand("showmenu","true");
  3.    if(_root.hidebar1._visible == true or _root.hidebar2._visible == true)
  4.    {
  5.       _root.hidebar1._visible = false;
  6.       _root.hidebar2._visible = false;
  7.    }
  8.    else if(_root.hidebar1._visible == false or _root.hidebar2._visible == false)
  9.    {
  10.       _root.hidebar1._visible = true;
  11.       _root.hidebar2._visible = true;
  12.    }
  13. }
  14.